#ifndef __RINGBUFFER_H
#define __RINGBUFFER_H

#include "stm32f7xx_hal.h"
#include <stdbool.h>

#define RINGBUFFER_LEN 2000

bool Write_to_ringbuffer(uint8_t *data,uint16_t len);
bool Read_from_ringbuffer(uint8_t *data,uint16_t len);
uint16_t Read_all_from_ringbuffer(uint8_t *data);

#endif
